/**
 * @description list handle
 * @author 盘古他爹
 */

import lsRequest from "../index"
import { IdataType } from "../types"
import { IGetListInfo, IGetListResult, ListUrl, IGetListData } from "./types"
class ListHandle {
  //获取列表信息
  getListInfo(data: IGetListInfo, url: ListUrl) {
    return lsRequest.get<IdataType<IGetListData>>({
      url,
      data
    })
  }
}

export default new ListHandle()
